package com.weichuang.config;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.*;

import javax.sql.DataSource;
import java.beans.PropertyVetoException;

@Configuration
@ComponentScan("com.weichuang")//<context:component-scan base-package="com.weichuang"/>
@Import({DataSourceConfiguration.class})//加载其他的配置类,数组，可以加载多个配置类
public class SpringConfiguration {

}
